# -*- mode: snippet -*-
# name: device Cairo::CairoSVG
# key: CairoSVG@Cairo
# key: device#CairoSVG@Cairo
# contributor: Shuguang Sun
# expand-env: ((yas-wrap-around-region t))
# --
Cairo::CairoSVG(file = "$1", bg = \"${2:$$(yas-choose-value '("transparent" "white"))}\")
$0
invisible(dev.off())